Updated rendering states
Resizing based on container size
small fixes