hot fix for display size and original size bug