try tranform instead of setting frame