Resize frame by pixels instead of characters