Worked on world resize and input