fixed rendering bug
moved tick to server