viewport acting strangely. Need to fix