Hi everyone

I have a problem where I draw a shape and it has a red dotted border and can't be filled. It looks like the lines you drag from the rulers.
Is this a setting or a corrupt document?