Use bounds instead of applicationFrame to avoid offset