Fixed frame calculation for view to tap in a custom keyboard