Fix img scaling issue in grid view while rendering mouse clicks for development purposes