Change enum class RenderAlignment
Don't use auto loops in surface.cpp