Fixed resizing; TODO: by default disable resizing