Few small changes for performance
Improve performance of galaxy rendering