use same dimensions in render and display