How to make mobs not scared of sunlight

So I'm making a custom mob that has block display entities teleported to it. The mob itself is an invisible bowless skeleton that is larger than usual to match the hitbox. I am aware you can give it a button on it's head or a helmet, but the problem is with it being larger it is too visible. Does anyone know how I can make the skeleton not be scared?
Continue to help post